{{<singlereplace}}
  {{$replace}}foo{{/replace}}
{{/singlereplace}}
{{<singlereplace}}
  {{$replace}}bar{{/replace}}
{{/singlereplace}}
